/** When your routing table is too long, you can split it into small modules **/

import H5Layout from '@/layout/h5'

const h5Router = {
    path: '/h5',
    component: H5Layout,
    redirect: '/h5/index',
    name: 'h5',
    hidden: true,
    children: [
        {
            path: 'index',
            component: () => import('@/views/h5/index'),
            name: 'h5Index',
            meta: {
                title: '森鹿报工系统'
            }
        },
        {
            path: 'job',
            component: () => import('@/views/h5/job/list'),
            name: 'h5Job',
            meta: {
                title: '报工列表项'
            }
        },
        {
            path: 'rwork-edit',
            component: () => import('@/views/h5/job/rwork-edit'),
            name: 'h5RworkEdit',
            meta: {
                title: '新增计件报工'
            }
        },
        {
            path: 'rwork-edit-single',
            component: () => import('@/views/h5/job/rwork-edit-single'),
            name: 'h5RworkEditSingle',
            meta: {
                title: '编辑计件报工'
            }
        },
        {
            path: 'oddjob-edit',
            component: () => import('@/views/h5/job/oddjob-edit'),
            name: 'h5OddJobEdit',
            meta: {
                title: '新增零工报工'
            }
        },
        {
            path: 'rfwork',
            component: () => import('@/views/h5/hrwork/rfwork'),
            name: 'h5Rfwork',
            meta: {
                title: '报工历史'
            }
        },
        {
            path: 'rfwork-jijian',
            component: () => import('@/views/h5/hrwork/rfwork-jijian'),
            name: 'h5Rfwork-jijian',
            meta: {
                title: '报工项列表-计件'
            }
        },
        {
            path: 'rfwork-jijian-info',
            component: () => import('@/views/h5/hrwork/rfwork-jijian-info'),
            name: 'h5Rfwork-jijian-info',
            meta: {
                title: '报工项详情-计件'
            }
        },
        {
            path: 'rfwork-linggong',
            component: () => import('@/views/h5/hrwork/rfwork-linggong'),
            name: 'h5Rfwork-linggong',
            meta: {
                title: '报工项列表-零工'
            }
        },
        {
            path: 'rfwork-linggong-info',
            component: () => import('@/views/h5/hrwork/rfwork-linggong-info'),
            name: 'h5Rfwork-linggong-info',
            meta: {
                title: '报工项详情-零工'
            }
        },
        {
            path: 'dbinfo',
            component: () => import('@/views/h5/dbinfo/index'),
            name: 'h5Dbinfo',
            meta: {
                title: '报工审核'
            }
        },
        {
            path: 'dbinfo-jijian',
            component: () => import('@/views/h5/dbinfo/dbinfo-jijian'),
            name: 'h5Dbinfo-jijian',
            meta: {
                title: '审核计件报工项'
            }
        },
        {
            path: 'dbinfo-linggong',
            component: () => import('@/views/h5/dbinfo/dbinfo-linggong'),
            name: 'h5Dbinfo-linggong',
            meta: {
                title: '审核零工报工项'
            }
        },
        {
            path: 'dbinfo-event',
            component: () => import('@/views/h5/dbinfo/dbinfo-event'),
            name: 'h5Dbinfo-event',
            meta: {
                title: '审核待办事件'
            }
        },
    ]
}
export default h5Router
